﻿<%@ Page Title="" Language="C#" MasterPageFile="MIOS.master" AutoEventWireup="true" CodeFile="SummitDelivery.aspx.cs" Inherits="SummitDelivery" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style143
        {
            width: 147px;
            text-align:right;
            font-size:15px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        付款</p>
    <p>
    <table style="width:100%;">
        <tr>
            <td class="style143">
                收货人姓名:</td>
            <td colspan="2">
                <asp:Label ID="Label2" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="收货人姓名不能为空！" Font-Size="11px" ControlToValidate="txtName"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style143">
                性别:</td>
            <td colspan="2">
                <asp:Label ID="Label3" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
                <asp:DropDownList ID="txtSex" runat="server">
                    <asp:ListItem>男</asp:ListItem>
                    <asp:ListItem>女</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style143">
                收货地址:</td>
            <td colspan="2">
                <asp:Label ID="Label4" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
                <asp:TextBox ID="txtAddress" runat="server" Width="260px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="收货地址不能为空！" Font-Size="11px" ControlToValidate="txtAddress"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style143">
                周围标志性建筑:</td>
            <td colspan="2">
                &nbsp;<asp:TextBox ID="txtBuild" runat="server" Width="260px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style143">
                电话:</td>
            <td colspan="2">
                <asp:Label ID="Label5" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
                <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtPhone" ErrorMessage="联系电话不能为空！" Font-Size="11px"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ErrorMessage="您输入的电话格式有误！" Font-Size="11px" ControlToValidate="txtPhone" 
                    ValidationExpression="1\d{10}|(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style143">
                邮编:</td>
            <td colspan="2">
                <asp:Label ID="Label6" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
                <asp:TextBox ID="txtPostcode" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtPostcode" ErrorMessage="邮编不能为空！" Font-Size="11px"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="您输入的邮编格式有误！" Font-Size="11px" ControlToValidate="txtPostcode" ValidationExpression="\d{6}"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style143">
                付货方式:</td>
            <td colspan="2">
                &nbsp;<asp:DropDownList ID="txtDeliveryMode" runat="server" 
                    onselectedindexchanged="DropDownList2_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style143">
                总额:</td>
            <td colspan="2">
                <asp:Label ID="Price" runat="server" Text="Label"></asp:Label>
                元</td>
        </tr>
        <tr>
            <td class="style143">
                &nbsp;</td>
            <td align=center>
                <asp:Button ID="btnBuy" runat="server" Text="付款" Width="58px" 
                    onclick="btnBuy_Click" />
            </td>
            <td>
                <asp:Button ID="btnCancelDeliv" runat="server" Text="取消" Width="58px" 
                    onclick="btnCancelDeliv_Click" />
            </td>
        </tr>
    </table>
    </p>
</asp:Content>

